@import "../../../../style/var";
@import "../../../../style/mixin";

.admin-wrap {
    background: #f0f0f0 url("../../assets/img/admin-bg.png") no-repeat top center;
    background-size: 100%;
    min-height: 100vh;

    .user-info {
        position: relative;
        color: #fff;
        font-size: 35px;
        display: flex;
        align-items: center;
        height: 295px;
        padding-left: 55px;

        .user-avatar {
            flex: 0 0 95px;
            margin-right: 20px;
            border-radius: 50%;
        }

        .tixian {
            position: absolute;
            top: 50%;
            right: 0;
            transform: translateY(-50%);
            width: 160px;
            height: 70px;
            background-color: #fcae26;
            font-size: 28px;
            padding-right: 10px;
            color: #fff;
            border: 2px solid #f89130;
            border-top-left-radius: 35px;
            border-bottom-left-radius: 35px;
        }
    }

    .no-login {
        height: 295px;
        color: #fff;

        button {
            margin-top: 20px;
        }
    }

    .w {
        padding: 20px;
    }

    .account {
        height: 165px;
        border-radius: 20px;
        background-color: #fff;

        .item {
            flex: 1;
            text-align: center;
            color: #666;
            font-size: 28px;

            small {
                color: #333;
            }
        }

        .price {
            color: $main-color-price;
            font-size: 30px;
            padding-bottom: 5px;
            font-weight: 700;
        }
    }

    .h {
        color: #333;
        padding: 20px 0;
        border-bottom: 1px solid #eee;
    }

    .more {
        color: #ccc;
        font-size: 28px;

        i {
            font-size: 28px;
        }
    }

    .m-card {
        background-color: #fff;
        margin-top: 20px;
        padding: 0 40px;
        overflow: hidden;
        border-radius: 20px;
    }

    .order-type {
        display: flex;

        .item {
            flex: 1;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-direction: column;
            padding: 15px 0;
            cursor: pointer;
            color: #999;
            font-size: 26px;

            .icon {
                width: 85px;
                height: 80px;
                display: flex;
                align-items: center;
                justify-content: center;

                img {
                    display: block;
                    width: 40px;
                }

                &.i-3 {
                    img {
                        width: 55px;
                    }
                }

                &.i-4 {
                    img {
                        width: 50px;
                    }
                }
            }
        }
    }

    .zuji {
        padding: 50px 0;
        text-align: center;
        color: #666;
        font-size: 26px;

        a {
            width: 450px;
            height: 100px;
            background: linear-gradient(#55fef8, #4181f1);
            color: #fff;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 90px;
            margin: 0 auto 15px;
            font-size: 32px;
        }
    }

    .link-list {
        background-color: #fff;
        margin-top: 20px;
        padding: 0 20px;
        border-radius: 20px;

        .item {
            display: flex;
            padding: 10px;
            color: #333;
            align-items: center;
            border-bottom: 1px solid #eee;

            .icon {
                flex: 0 0 85px;
                height: 85px;
                display: flex;
                align-items: center;
                justify-content: center;

                i {
                    font-size: 40px;
                    color: #333;
                }
            }
        }
    }
}

.admin-user-wrap {
    @extend .admin-wrap;
    background: transparent;
    padding: 20px;

    .form-wrap {
        background-color: #fff;
        padding: 20px;

        .form-item {
            padding: 15px 20px;
        }
    }

    .avatar {
        overflow: hidden;
        position: relative;
        border-radius: 10px;
        margin: 10px 0;

        input {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            opacity: 0;
        }
    }
}

.sign-wrap {
    .top-info {
        background-color: #fff;
        padding: 0 20px;
        margin-bottom: 0px;

        li {
            display: flex;
            padding: 10px 0;
            align-items: center;

            span {
                color: #666;
                padding-right: .5em;
            }

            .icon {
                width: 50px;
                display: flex;
                align-items: center;
                justify-content: center;
                height: 50px;

                i {
                    color: #666;
                    font-size: 32px;
                }
            }
        }

        &.two {
            padding: 0 20px;

            li {
                display: flex;

            }

            select {
                flex: 1;
                border: none;
                height: 60px;
                outline: none;
            }
        }
    }

    .form {
        background-color: #fff;
        margin-top: 20px;
        padding: 10px 20px;
        margin-bottom: 20px;

        input {
            display: block;
            width: 100%;
            height: 70px;
            border: none;
            border-bottom: 1px solid #ccc;
            padding: 0 1em;
            margin-bottom: 10px;
        }

        textarea {
            @extend input;
            padding-top: 10px;
            height: 400px;
            border: none;
        }

        .img-list {
            display: flex;
            flex-wrap: wrap;
            padding-bottom: 20px;

            .item {
                position: relative;
                border-radius: 20px;
                width: 150px !important;
                flex: 0 0 150px;
                height: 150px;
                margin-right: 20px;

                .close {
                    position: absolute;
                    right: -25px;
                    top: -25px;
                    color: red;
                    width: 50px;
                    height: 50px;
                    display: flex;
                    align-items: center;
                    cursor: pointer;

                    svg {
                        width: 90%;
                    }
                }
            }

            .upload-file {
                position: relative;
                border: 1PX dashed #afafb1;
                color: #ccc;

                i {
                    font-size: 55px;
                }

                input {
                    position: absolute;
                    top: 0;
                    left: 0;
                    width: 100%;
                    height: 100%;
                    opacity: 0;
                }
            }
        }
    }

    .submit {
        padding: 20px;
    }
}

.wallet-wrap {
    padding-bottom: 100px;

    .wallet-list {
        padding: 0 20px 20px;
        font-size: 30px;
        background-color: #fff;
        margin-top: 20px;
        border-radius: 20px;

        .tit {
            border-bottom: 1px solid #ddd;
            padding: 20px 0;
        }

        .item {
            padding: 15px 0;
            border-bottom: 1px dashed #ddd;

            .name-p {
                width: 100%;
            }

            .n {
                flex: 1;
                padding-right: 1em;
                line-height: 1.4;
            }

            .p {
                flex: 0 0 5em;
                text-align: right;
                color: $main-color-price;
            }

            .time {
                color: #666;
                font-size: 24px;
                padding-top: 10px;
            }
        }
    }

    .fix-btn {
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        border-radius: 0;
        padding-top: 20px;
        padding-bottom: 20px;
    }

    .wallet-tixian-modal {
        padding: 20px;

        .label {
            font-weight: 700;
            font-size: 28px;
        }

        .van-cell {
            padding-left: 0;
            border-bottom: 1px solid #ccc;
            margin-bottom: 20px;
        }
    }
}
